package xyz.molzhao.alink.api.response;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class StorageContextResponse {
    private String url;

    private String markdown;

    public String getMarkdown() {
        return String.format("[](%s)", url);
    }
}
